package com.coocaa.ops.api.common.constant;

import java.util.Objects;

/**
 * @author tangminghong
 * @date 2020-06-19
 */
public final class PolicyGroupCategory {

    /**
     * 正式（保底）策略
     */
    public static final int FORMAL = 1;

    /**
     * 测试（定向）策略
     */
    public static final int TEST = 2;

    public static boolean isTest(Integer policyGroupCategory) {
        return Objects.equals(TEST, policyGroupCategory);
    }

    public static boolean isFormal(Integer policyGroupCategory) {
        return Objects.equals(FORMAL, policyGroupCategory);
    }
}
